import React,{ useEffect, useState } from 'react'
import '../../Layout/Linte.css'
import SheC from '../../assets/new icon/摄氏度.png'
import { GET_TiAN } from '../../api/tian'
import Shid from '../../assets/new icon/湿度.png'
import Mometer from '../../assets/new icon/温度计.png'
import Feng from '../../assets/new icon/new feng.png'
import ErrorBoundary from '../../component/ErrorBoundary'
type Props = {}

const Lntelligent = (props: Props) => {
  //获取天气数据


// const getList = () => {
 
// }
// getList();
  return (
    <div className='Lcontainer'>

      <div className='Lleft'>
        <div className='XLtop'>
          <b className='hh1'>环境检测</b>
        </div>
        <div className='XLleft'>
          <div className='oneTop'>
             <img src={SheC} alt="" className='ssd'/>
           {/* <span>&emsp;&emsp;&emsp;{quanList[0].tempMax}℃</span> */}
           &emsp;&emsp;<b className='hot'>高温黄色预警</b>
          </div>
        <div className='oneMain'>
          <div>
            <img src={Mometer} alt="" />
            {/* <b>&emsp;体感 &emsp;&emsp;&emsp;{quanList[0].tempMax}℃</b> */}
          </div>
          <div>
             <img src={Feng} alt="" />
            {/* <b>&emsp;风力&emsp;&emsp;&emsp;{quanList[0].windScaleDay}级</b> */}
          </div>
          <div>
             <img src={Shid} alt="" />
            {/* <b>&emsp;湿度&emsp;&emsp;{quanList[0].humidity}%</b> */}
          </div>
        </div>

        <div className='twoMain'></div>

        </div>
        
        <div className='XLleft1'>

        </div>

      </div>
      <div className='Lcenter'>
        <h1>中间</h1>
      </div>
      <div className='Lright'>
        <h1>右侧</h1>
      </div>

    </div>
  )
}

export default Lntelligent